package com.itheima.sh.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

/**
 * @author: 飞羽鸿蒙
 * @date: 2020/12/20 20:24
 */
@Configuration // 声明配置类
@EnableFeignClients(basePackages = "com.itheima.sh.feign")
public class FeignAutoConfiguration {

    Logger.Level feignLoggerLevel() {

        // 不打印日志
        return Logger.Level.NONE;
    }

}
